package com.ftg.learn.aop;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author kangjx
 * @createTime 2022/8/15
 */
@Data
@Component
public class Person {

    private int sno;

    private String sname;

    public String info(){
        System.out.println(this.getSname() + "你好");
        return "热土";
    }

}
